home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Startmenu Options 4.xpl < prev    next >
Text File  |  2001-04-13  |  1KB  |  55 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="2"
  4. "UIPATH"="Appearance\Taskbar"
  5. "NAME"="General Taskbar Options"
  6. "VERSION"="1.07"
  7. "OSVERSION"="000011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Show context menu for taskbar"
  10. "TEXT 2"="Allow resizing of taskbar"
  11. "DESCRIPTION 1"="Some options for the taskbar."
  12. "DESCRIPTION 2"="NOTE: At the the moment this items are only available for Windows ME and Windows XP."
  13. "AUTHOR"="Xteq Systems (CptSiskoX)"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="Resistance is futile. "
  17.  
  18.  
  19.  
  20. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarContextMenu"
  21. sV2="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarSizeMove"
  22.  
  23. SUB Plugin_Initialize
  24.     i=RegReadValue(sV1) 
  25.     If IsEmpty(i) or i=1 then SetUIElement 1,true
  26.  
  27.     i=RegReadValue(sV2) 
  28.     if IsEmpty(i) or i=1 then SetUIElement 2,true 
  29. END SUB
  30.  
  31. SUB Plugin_CheckData(ElementIndex)
  32. END SUB
  33.  
  34. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  b=GetUIElement(1)
  36.  if b=true then
  37.     Call RegWriteValue(sV1,1,2)
  38.  else
  39.     Call RegWriteValue(sV1,0,2)
  40.  end if
  41.  
  42.  b=GetUIElement(2)
  43.  if b=true then
  44.     Call RegWriteValue(sV2,1,2)
  45.  else
  46.     Call RegWriteValue(sV2,0,2)
  47.  end if
  48.  
  49.  
  50.  Call Logoff
  51. END SUB
  52.  
  53. SUB Plugin_Terminate
  54. END SUB
  55.